﻿// MoveDrawDlg.cpp: 实现文件
//

#include "pch.h"
#include "TestDraw.h"
#include "MoveDrawDlg.h"
#include "afxdialogex.h"


// MoveDrawDlg 对话框

IMPLEMENT_DYNAMIC(MoveDrawDlg, CDialog)

MoveDrawDlg::MoveDrawDlg(CWnd* pParent /*=nullptr*/)
	: CDialog(IDD_DIALOG2, pParent)
	, m_iOffsetX(0)
	, m_iOffsetY(0)
{

}

MoveDrawDlg::~MoveDrawDlg()
{
}

void MoveDrawDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT_OFFSET_X, m_iOffsetX);
	DDX_Text(pDX, IDC_EDIT_OFFSET_Y, m_iOffsetY);
}


BEGIN_MESSAGE_MAP(MoveDrawDlg, CDialog)
END_MESSAGE_MAP()


// MoveDrawDlg 消息处理程序


void MoveDrawDlg::OnOK()
{
	// TODO: 在此添加专用代码和/或调用基类

	CDialog::OnOK();
}
